package com.wzy.pageHelper;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;


/**
 * @author weij
 * @Time 2020-05-18 17-44
 * @Description
 * @YpdateTime
 * @updateBy
 **/
@Data
@Accessors(chain = true)
public class PageAndSeach<T> {
    @NotNull(message = "页码不能为空")
    private Integer pageNum;
    @NotNull(message = "单页数据量不能为空")
    private Integer pageSize;
    T search;


}
